function submitform() {
    var title=$('the_title').innerHTML.substring(6*3, $('the_title').innerHTML.length);
    switch(title) {
        case 'Inscription':alert('Inscription');
        break;
        case 'Connexion':alert('Connexion');
        break;
    }
}